#ifndef IMGMGR_H_INCLUDED
#define IMGMGR_H_INCLUDED
#include <iostream>
#include <SFML/Graphics.hpp>
#include <SFML/System.hpp>
#include <SFML/Window.hpp>

class ImgMgr
{
  public:
    ImgMgr();
    ~ImgMgr();
    void setImage(const std::string chemin, const int dimensionTile, const sf::Color maskColor);
    void setScaleSprite(const int scale);
    void maj();
    sf::Sprite &getSprite();
    sf::Sprite getSprite(const int point);
    sf::Sprite getSprite(const int firstPoint,const int secondPoint);
    sf::Image &getImage();
    sf::Texture &getTexture();

  private:
    std::string m_chemin;
    sf::Texture m_texture;
    sf::Image m_image;
    sf::Sprite m_sprite;
    int m_dimensionTile;

};



#endif // IMGMGR_H_INCLUDED
